package com.shuwen.gcdj.bean.basicsEquitment.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
@ApiModel
public class FileDictResp {

    @ApiModelProperty("文件id")
    private String id;

    @ApiModelProperty("文件名称")
    private String name;

    @ApiModelProperty("文件路径")
    private String path;

    @ApiModelProperty("文件大小")
    private String size;

    @ApiModelProperty("是否文件夹")
    private Boolean isFolder;

    @ApiModelProperty("文件父id")
    private String storagePath;

    @ApiModelProperty("文件后缀")
    private String suffix;

    @ApiModelProperty("文件类型")
    private String type;

    @ApiModelProperty("文件深度")
    private String depth;

    @ApiModelProperty("文件子类")
    private List<FileDictResp> childs;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;




}
